package com.zhihao.zhihaopicturebackend;

import org.apache.shardingsphere.spring.boot.ShardingSphereAutoConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;


@SpringBootApplication(exclude = {ShardingSphereAutoConfiguration.class})   // 暂时去除‘分库分表’ShardingSphere
@MapperScan(value = "com.zhihao.zhihaopicturebackend.mapper")
@EnableAspectJAutoProxy(exposeProxy = true) // 默认为false;开启后默认ioc生成增强代理类(eg:事务...增强功能)
public class ZhihaoPictureBackendApplication {

    public static void main(String[] args) {
        SpringApplication.run(ZhihaoPictureBackendApplication.class, args);
    }

}
